﻿<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>SGV</title>
       
        <meta name="viewport" content="width=device-width" />
         
        @Styles.Render("~/Content/css")
      
        @Scripts.Render("~/bundles/modernizr")
        @Scripts.Render("~/bundles/jquery")
        <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/start/jquery-ui.css" rel="stylesheet" />
        <link href="@Url.Content("~/Content/themes/start/AwesomeMvc.css")" rel="stylesheet"/>
        <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")" type="text/javascript"> </script>
        <script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/AwesomeMvc.js")" type="text/javascript"></script>
             
        @(Html.Syncfusion().StyleManager().Combine(false).Minify(false)
        .Register(component =>
            {
                component.Add(ComponentType.Grid);
                component.Add(ComponentType.Chart);
                component.Add(ComponentType.Schedule);              
               
            }))
    </head>
    <body>
        <header>
          <div class="content-wrapper">
                 <div class="float-left">
                     @*<p class="site-title">@Html.ActionLink("Seu logo aqui", "Index", "Home")</p>*@
                </div>
                <div class="float-right">
                    <section id="login">
                        @Html.Partial("_LoginPartial")
                    </section>
                    <nav>
                        <ul id="menu">
                         <li>@Html.ActionLink("Página Inicial", "Index", "Home")</li>
                            @*<li>@Html.ActionLink("About", "About", "Home")</li>*@
                            @if (User.IsInRole("USUARIO"))
                            {
                                <li>@Html.ActionLink("Cadastro", "Index", "Cadastro")</li>
                               @* <li>@Html.ActionLink("Relatório", "Index", "Relatorio")</li> *@
                            }
                            @if (User.IsInRole("Administrator"))
                            {
                                <li>@Html.ActionLink("Cadastro", "Index", "Cadastro")</li>
                                //  <li>@Html.ActionLink("Funcionário", "Index", "Admin")</li>
                                <li>@Html.ActionLink("SGA", "Index", "Dashboard", new {area = "SecurityGuard"}, null)</li>
                            }
                            @*<li>@Html.ActionLink("Contact", "Contact", "Home")</li>*@
                        </ul>
                    </nav>
                </div>
            </div>
        </header>
        <div id="body">
            @RenderSection("featured", required: false)
            <section class="content-wrapper main-content clear-fix">
                @RenderBody()
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - SGV - Todos os direitos reservados</p>
                </div>
            </div>
        </footer>

         @RenderSection("scripts", required: false)
         @{Html.Syncfusion().ScriptManager().Combine(false).Minify(false).Render();}
       
    </body>
</html>
